import routerPlaceholder from '../../views/layout/router-placeholder.vue'

let routers = {
  path: 'earth',
  name: 'earth',
  component: routerPlaceholder,
  redirect: {
    name: "globe"
  },
  children: [{
    path: 'globe',
    name: 'globe',
    component: () => import('@/views/earth/globe/index.vue'),
    meta: {
      activeMenu: 'globe',
      title: 'globe',
      icon: 'dashboard',
      affix: true
    }
  },{
    path: 'globa',
    name: 'globa',
    component: () => import('@/views/earth/globa/index.vue'),
    meta: {
      activeMenu: 'globa',
      title: 'globa',
      icon: 'dashboard',
      affix: true
    }
  },{
    path: 'fly',
    name: 'fly',
    component: () => import('@/views/earth/fly/index.vue'),
    meta: {
      activeMenu: 'fly',
      title: 'fly',
      icon: 'dashboard',
      affix: true
    }
  },{
    path: 'shortcut',
    name: 'shortcut',
    component: () => import('@/views/earth/shortcut/index.vue'),
    meta: {
      activeMenu: 'shortcut',
      title: 'shortcut',
      icon: 'shortcut',
      affix: true
    }
  },{
    path: 'tours',
    name: 'tours',
    component: () => import('@/views/earth/tours/index.vue'),
    meta: {
      activeMenu: 'tours',
      title: '旅行动画',
      icon: 'tours',
      affix: true
    }
  },{ 
    path: 'satellites',
    name: 'satellites',
    component: () => import('@/views/earth/satellites/index.vue'),
    meta: {
      activeMenu: 'satellites',
      title: '卫星',
      icon: 'satellites',
      affix: true
    }
  },{
    path: 'airlines',
    name: 'airlines',
    component: () => import('@/views/earth/airlines/index.vue'),
    meta: {
      activeMenu: 'airlines',
      title: 'airlines',
      icon: 'dashboard',
      affix: true
    }
  },{
    path: 'test',
    name: 'earthTest',
    component: () => import('@/views/earth/test/index.vue'),
    meta: {
      activeMenu: 'earthTest',
      title: '测试',
      icon: 'earthTest',
      affix: true
    }
  },]
}

export default routers
